package com.example.szys.repository;

import com.example.szys.model.UserClass;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserClassRepository extends JpaRepository<UserClass,Integer> {
    public List<UserClass> findByEmail(String email);

    public List<UserClass> findByClassid(String classid);

    public UserClass findByEmailAndClassid(String email,String classid);

}
